<?php

/* @var $this yii\web\View */
/* @var $form yii\bootstrap\ActiveForm */
/* @var $model \common\models\LoginForm */

use yii\helpers\Html;
use yii\bootstrap\ActiveForm;

$this->title = '管理员登录';
$this->params['breadcrumbs'][] = $this->title;
?>
<link href="/assets/c7108c69/css/bootstrap.css" rel="stylesheet">
<div class="site-login">
    <h1><?= Html::encode($this->title) ?></h1>

    <!--    <p>Please fill out the following fields to login:</p>-->

    <div class="row">
        <div class="col-lg-5">
            <?php $form = ActiveForm::begin(['id' => 'login-form']); ?>

            <?= $form->field($model, 'username',['labelOptions'=>['iqd'=>'aaa']])->textInput(['idq'=>123]) ?>

            <?= $form->field($model, 'password')->passwordInput() ?>

            <?= $form->field($model,'verifyCode')->widget(yii\captcha\Captcha::className()
                ,['captchaAction'=>'backenduser/captcha',
                    'imageOptions'=>['alt'=>'点击换图','title'=>'点击换图', 'style'=>'cursor:pointer']]);?>
            <?= $form->field($model, 'rememberMe')->checkbox() ?>
            <div class="form-group">
                <?= Html::submitButton('登录', ['class' => 'btn btn-primary', 'name' => 'login-button']) ?>
            </div>

        </div>
    </div>
</div>

</script><script src="/assets/cfbcd266/jquery.js"></script>
<script src="/assets/206fbea7/yii.js"></script>
<script src="/assets/206fbea7/yii.validation.js"></script>
<script src="/assets/206fbea7/yii.captcha.js"></script>
<script type="text/javascript">jQuery(document).ready(function () {
        jQuery('#loginform-verifycode-image').yiiCaptcha({"refreshUrl":"\/index.php?r=backenduser%2Fcaptcha\u0026refresh=1","hashKey":"yiiCaptcha\/backenduser\/captcha"});
    });</script>